<template>
  <div>
    <!-- <MyHeader /> -->
    <!-- html的标准：标签名写法是小写，多个单词-连接 -->
    <my-header />
    <div class="box">
      <my-aside />
      <my-content />
    </div>
  </div>
</template>

<script>
// 导入组件
import MyHeader from './components/MyHeader.vue'
import MyAside from './components/MyAside.vue'
import MyContent from './components/MyContent.vue'

export default {
  // 注册组件
  components: {
    MyHeader,
    MyAside,
    MyContent,
  },
  data () {
    return {}
  }
}
</script>

<style>
  .box {
    display: flex;
    
  }
  .box div {
    flex: 1;
  }
</style>
